﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GameClient
{
    public partial class SendMessage : Form
    {
        private string m_sMessage;

        public string Message
        {
            get
            {
                return m_sMessage;
            }
        }

        public SendMessage()
        {
            InitializeComponent();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            textBox1.Text = String.Empty;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text.Length == 0)
                return;

            m_sMessage = textBox1.Text;

        }
    }
}
